Pod::Spec.new do |s|
  s.name     = 'QuickDialog'
  s.version  = '1.1.15'
  s.platform = :ios, '5.0'
  s.license  = 'Apache License, Version 2.0'
  s.summary  = 'Quick and easy dialog screens for iOS.'
  s.homepage = 'http://escoz.com/open-source/quickdialog'
  s.author   = { 'Eduardo Scoz' => 'contact@escoz.com','lvl' => 'lvlin@apexsoft.com.cn' }
  s.source   = { :git => 'https://git.oschina.net/ApexsoftSourcecode/QuickDialog.git', :tag => "v#{s.version}" }

  s.description  = 'QuickDialog allows you to create HIG-compliant iOS forms for your apps without ' \
                   'having to directly deal with UITableViews, delegates and data sources. Fast ' \
                   'and efficient, you can create forms with multiple text fields, or with ' \
                   'thousands of items with no sweat!'

  s.requires_arc = true

  s.default_subspec = "Core"

  s.subspec "Core" do |sp|
    sp.source_files = 'quickdialog', '*.{h,m}', 'lbextras/*.{h,m}'
    sp.resources = 'images/*.png'
  end

  s.subspec "Extras" do |sp|
    sp.dependency 'QuickDialog/Core'
    sp.source_files = 'extras', '*.{h,m}'
  end

end
